Do not connect to a non-existing signal
authorEmmanuele Bassi <ebassi@gnome.org>
Tue, 26 Mar 2019 17:13:18 +0000 (17:13 +0000)
committerEmmanuele Bassi <ebassi@gnome.org>
Tue, 26 Mar 2019 17:37:49 +0000 (17:37 +0000)
commit3389ddf6fc8ce84daa3b652bbbae749fbf02faa1
treecbe8e92dea361a09ab162ea73bf882ca2a25f562
parent341660e05602b26958a2379184eec9558d77cb36
Do not connect to a non-existing signal

The GtkWidget::parent-set signal was removed in ff6cd8f7.

Instead of removing GtkLayoutChild instances associated to a widget
using notifications when the widget's parent changes, we can have
gtk_widget_unparent() call a method on GtkLayoutManager to remove any
eventual GtkLayoutChild instances associated to the widget.
gtk/gtklayoutmanager.c
gtk/gtklayoutmanagerprivate.h
gtk/gtkwidget.c